<?php
namespace Swiftx\Bundle\WeChat\View;
use Swiftx\Bundle\WeChat\Model\Seller\Company;
use Swiftx\Bundle\WeChat\Interfaces\View\Layout as LayoutInterface;


abstract class Layout extends Common implements LayoutInterface{

    /**
     * 设置页面标题
     * @param string $value
     */
    public function setTitle(string $value){
        $this->data->assign('title', $value);
    }

    /**
     * 设置页面登陆
     * @param Company $value
     */
    public function setLogin(Company $value){
        $this->data->assign('login', $value);
    }

}
